﻿using System;
using System.Collections.Generic; 

namespace Ether.Ai
{
    public class Path : List<Waypoint>
    {
        //Fields
        public int Current { get; protected set; }

        public Waypoint CurrentWaypoint { get { return this[Current]; } }
        public Waypoint NextWaypoint { get { return (this[Current+1] == null) ? this[Current+1] : null; } }

        //Construct
        public Path()
            : base()
        {

        }

        public Path(Waypoint[] wps)
            : base(wps)
        {

        }

        //Methods
    }
}
